<div class="detail-tab-panel" style="padding-bottom:3rem">
    <div class="tab-panel comment-block show">
        <div class='container'>
			<!--评论模版-->
			<div  class="fui-cell-group fui-comment-group" style="margin-top:0">
					<div ng-repeat="comment in pagedata.list" class="fui-cell" style="padding:0.1rem 0.5rem">
						<div class="fui-cell-text comment">
							<div class="info head">
								<div class='img'><img ng-src="{{tomedia(comment.member.avatar) || '../core/resource/images/nopic.jpg'}}"/></div>
								<div class='nickname'>{{comment.member.nickname}} <span class="subtitle" style="font-size:0.6rem">{{comment.createtime}}</span></div>
								<!--<div class="date">{{comment.createtime}}</div>-->
								<div class="star star1">
									<span ng-class="{'shine':comment.star >= 1}"><i class="icon icon-shoucang-tianchong"></i></span>
									<span ng-class="{'shine':comment.star >= 2}"><i class="icon icon-shoucang-tianchong"></i></span>
									<span ng-class="{'shine':comment.star >= 3}"><i class="icon icon-shoucang-tianchong"></i></span>
									<span ng-class="{'shine':comment.star >= 4}"><i class="icon icon-shoucang-tianchong"></i></span>
									<span ng-class="{'shine':comment.star >= 5}"><i class="icon icon-shoucang-tianchong"></i></span>
								</div>
							</div>
							<div class="remark">{{comment.content}}</div>
							<div ng-if="comment.images.length>0" class="remark img">
								<div ng-repeat="img in comment.images" class="img"><img ng-click="pagedata.show_bigimage=true;pagedata.showimage=img" ng-src="{{tomedia(img)}}"/></div>
							</div>	
							<div class="options" style="padding:0.3rem;">
								<div class="fui-tag-red-o">{{comment.selespename ||'默认规格'}}</div>
							</div>	
							<div ng-if="comment.reply_content" class="reply-content" style="background:#EDEDED;">
								掌柜回复：{{comment.reply_content}}

								<div ng-if="comment.reply_images.length>0" class="remark img">
									
									<div ng-repeat="img in comment.reply_images" class="img"><img ng-click="pagedata.show_bigimage=true;pagedata.showimage=img" data-lazy="{{img}}" /></div>
								
								</div>
							   
							</div>
							<div ng-if="comment.append_content && comment.replychecked==0" class="remark reply-title">用户追加评价</div>
							<div class="remark">{{comment.append_content}}</div>
						   
							<div ng-if="comment.append_images.length>0" class="remark img">
								
								<div ng-repeat="img in comment.append_images" class="img"><img ng-click="pagedata.show_bigimage=true;pagedata.showimage=img" data-lazy="{{img}}" /></div>
							   
							</div>
							
							<div ng-if="omment.append_reply_content" class="reply-content" style="background:#EDEDED;">
								掌柜回复：{{comment.append_reply_content}}
							   
								<div ng-if="comment.append_reply_images.length>0" class="remark img">

									<div ng-repeat="img in comment.append_reply_images" class="img"><img ng-click="pagedata.show_bigimage=true;pagedata.showimage=img" data-lazy="{{img}}" /></div>
								</div>
							</div>
						</div>
					</div> 
			</div>
		<!--评价-->
		</div>
        <div class='infinite-loading' ng-if="pagedata.loading"><span class='fui-preloader'></span><span class='text'> 正在加载...</span></div>
    </div>
</div>
<!--图片放大-->
<div ng-if="pagedata.show_bigimage"  class="popup">
	<div class="popup-body">
	<div class="popup-center">
		<div ng-click="pagedata.show_bigimage=false" class="image" style="border-radius: 2rem; height:18rem;background: url({{tomedia(pagedata.showimage)}}) no-repeat 50% 0;background-size:100%;background-position:center center">
		</div>
	</div>
	</div>
</div>
<script>
scope.tool.get_list('jy_weishop/goods.detail/getcomments/goodsid='+scope.pagedata.goods.id,true);
if(scope.pagedata.showtype ==3){
		scope.pagedata.scroll_bottom=function(){
			scope.tool.get_list('jy_weishop/goods.detail/getcomments/goodsid='+scope.pagedata.goods.id+'&type='+scope.pagedata.comments_type);
		}
}
</script>